<template>
  <div class="getIntroduce-box">
    <div class="title">
      <h3>{{masg.title}}</h3>
      <hr>
    </div>
    <div v-html="masg.content">

    </div>
  </div>
</template>
<script>

export default {
  data() {
    return {
      id:this.$route.params.id,
      masg:''
    };
  },
  created(){
    this.getContent()
  },
  methods:{
    getContent(){
      this.$http.get('api/goods/getdesc/'+this.id).then(res=>{
        this.masg=res.body.message[0]
      })
    }
  }
}
</script>
<style lang="scss">
  .getIntroduce-box{
    margin: 5px;
    h3{
      font-size: 15px;
      color: orangered;
      text-align: center;
    }
    img{
      width: 100%;
    }
  }
</style>